home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / eulisp / feel0_89.lha / Feel / bin / ecc.ard < prev    next >
Text File  |  1993-06-08  |  735b  |  45 lines

  1. #!/bin/sh
  2. # Script to drive the compiler
  3. # $Id: ecc,v 1.2 90/11/29 21:44:05 is Exp $
  4. # $Log:    ecc,v $
  5. # Revision 1.2  90/11/29  21:44:05  is
  6. # Changed brad_export to denton_export
  7. # Revision 1.1  90/11/29  21:39:57  is
  8. # Script to drive the Eulisp compiler
  9. # CC_CPP=/usr/local/lib/gcpp
  10. # export CC_CPP
  11. #
  12.  
  13.  
  14. ARDENT_LD=${FEELDIR}/bin/ldn
  15. TMPDIR=/net/brad/denton_export/tmp
  16.  
  17. export ARDENT_LD TMPDIR
  18.  
  19. # The following is for the benifit of ldn, so it knows where to look
  20. # for the headers
  21. ElviraHdrs=-I${FEELDIR}/Src
  22. export ElviraHdrs
  23.  
  24. all="$*"
  25. defines=""
  26. junk=""
  27.  
  28. while [ $# -gt 0 ]
  29. do
  30.     case "$1" in
  31.     -D*)
  32.         defines="$defines $1";;
  33.     *)
  34.         junk="$junk $1";;
  35.     esac
  36.     shift
  37. done
  38. export defines
  39. set -x
  40.  
  41. cc ${ElviraHdrs} $all ${ELVIRA} -lm
  42.  
  43.